<%= error_messages_for 'image' %>

<!--[form:image]-->
<p><label for="image_name">Name</label><br/>
<%= text_field 'image', 'name'  %></p>

<p><label for="image_file">File</label><br/>
<input type="file" name="image[file]" /></p>
<!--[eoform:image]-->